package com.xz.xzliving.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xz.xzliving.commodity.entity.CategoryEntity;
import com.xz.xzliving.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 商品分类表
 *
 * @author xuzhou
 * @email xuzhou@gmail.com
 * @date 2024-09-11 14:37:41
 */
public interface CategoryService extends IService<CategoryEntity> {

    //返回所有分类及其子分类(层级关系-即树形)
    List<CategoryEntity> listTree();

    PageUtils queryPage(Map<String, Object> params);
}

